package net.timico.messaging;

import javax.jms.ConnectionFactory;
import org.apache.activemq.ActiveMQConnectionFactory;

public class App {
	public static String brokerURL = "tcp://localhost:61616";

	public static void main(String[] args) throws Exception {
		ConnectionFactory factory = new ActiveMQConnectionFactory(brokerURL);
		Producer producer = new Producer(factory, "test");
		producer.run();
		producer.close();
	}
}
